﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntitiesLayer
{
    public abstract class Personne : EntityObject
    {
        #region Properties

        public DateTime DateNaissance
        {
            get;
            set;
        }

        public String Nom
        {
            get;
            set;
        }

        public String Prenom
        {
            get;
            set;
        }

        #endregion

        #region Constructors

        public Personne(DateTime date, String nom, String prenom, int id) : base(id)
        {
            DateNaissance = date;
            Nom = nom;
            Prenom = prenom;
        }

        #endregion
    }
}
